﻿<src:DisplayObjectImpl x:Class="AgilePlannerDT.Display.Impl.StateAreaDisplayObjectImpl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:src="clr-namespace:AgilePlannerDT.Display.Impl"
    xmlns:cw="clr-namespace:AgilePlannerDT.Display.CustomWidgets"
    xmlns:vr="clr-namespace:AgilePlannerDT.Display.ValidationRules"
    xmlns:con="clr-namespace:AgilePlannerDT.Utils"
    Height="400" Width="400" Opacity="1" Loaded="DisplayObjectImpl_Loaded">

    <UserControl.Resources>
        <con:DateOnlyStringConverter x:Key="dateConv" />
    </UserControl.Resources>

    <!--<Border CornerRadius="15" Name="highlight" Padding="7" Background="Transparent" Height="264" Width="414" >-->
    <Border  CornerRadius="1" Name="border" BorderBrush="Black" BorderThickness="1" >
        <Canvas Name="canvas" Width="394" Height="394">
            <Grid Name="grid" Width="394" Height="394" Opacity="1">
                <Grid.RowDefinitions>
                    <RowDefinition Height="40"/>
                    <RowDefinition Height="49"/>
                    <RowDefinition Height="*" MinHeight="84" />
                    <RowDefinition Height="35"/>
                    <RowDefinition Height="35"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="58"/>
                    <ColumnDefinition Width="46*" />
                    <ColumnDefinition Width="56*" MinWidth="56"/>
                    <ColumnDefinition Width="74.4*" MinWidth="74.4"/>
                    <ColumnDefinition Width="56*" MinWidth="56"/>
                    <ColumnDefinition Width="104"/>
                </Grid.ColumnDefinitions>

                <Grid Grid.ColumnSpan="6" Grid.RowSpan="5" Name="overlay" Opacity="1">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="58*" />
                        <ColumnDefinition Width="336*" />
                    </Grid.ColumnDefinitions>
                    <TextBox Grid.ColumnSpan="2" TextWrapping="Wrap" Margin="19.2,1,26.125,0" Name="titleTextBox" FontSize="20" VerticalContentAlignment="top" HorizontalContentAlignment="Left" Height="75" VerticalAlignment="Top" Background="Black" Foreground="White"></TextBox>
                    <!--<Label Margin="0,5,104,0" Name="titleLabel" FontSize="20" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Foreground="#FFFFFFFF" Height="35" VerticalAlignment="Top" HorizontalAlignment="Right" Width="262" Grid.ColumnSpan="2"></Label>-->
                    <Button HorizontalAlignment="Left" Width="20" Name="statusButton" Style="{DynamicResource StatusButton}" Panel.ZIndex="1001" FontWeight="Bold" FontSize="10" />
                    <cw:ResizerHandle  HorizontalAlignment="Right" VerticalAlignment="Bottom" x:Name="resizerHandle" Height="45" Width="45" Margin="0,0,-3,-3" Grid.Column="1" />
                    <TextBlock VerticalAlignment="Center" Height="150"  Name="highlightTextBlock" Foreground="Red" TextAlignment="Center" FontSize="80" IsHitTestVisible="False" Grid.Column="1" Margin="64,0,122,0" />
                        <Button Style="{DynamicResource RoundButton}" Height="35" HorizontalAlignment="Right"  Name="deleteIterationButton" VerticalAlignment="Top" Width="34.986" Grid.Column="1">
                            <Image  HorizontalAlignment="Right"  Name="image1" VerticalAlignment="Top"  Source="/AgilePlannerDT;component/Resources/delete.ico" Stretch="Fill" Height="14" Width="14" />
                        </Button>
                    </Grid>
            </Grid>
            <Button Style="{DynamicResource InvisibleButton}" Margin="-10,-25" Name="pin">
                <Image Stretch="Fill" Height="30" Width="30"  Source="/Resources/Images/pins/pin_blue.png" HorizontalAlignment="Left" VerticalAlignment="Top" />
            </Button>

        </Canvas>
    </Border>
    <!--"  </Border>-->
</src:DisplayObjectImpl>
